-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance tests for files API root best-effort pin. #3151
Conversation
Sweet, LGTM! @jbenet wanna take a look here? |
|
||
test_expect_success "add incomplete directory and make sure gc is okay" ' | ||
ipfs files cp /ipfs/$MYDIR_HASH /mydir && | ||
ipfs repo gc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would do ipfs cat $HELLO_HASH
here too, just to be sure the thing is really gone and stays gone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will add.
Some comments above |
License: MIT Signed-off-by: Kevin Atkinson <[email protected]>
99cbe12
to
6e4f3ac
Compare
@jbenet thanks, I just amended my commit with your corrections. Sorry about the missing "&&", I actually meant to review this one more time before removing the "in progress" label. |
This LGTM. I would change a few stylistic things (like redirect the 'ipfs cat' calls either to dev/null, or check their output explicitly). But thats not a huge deal, and isnt really relevant to what we're testing here. |
License: MIT
Signed-off-by: Kevin Atkinson [email protected]